package com.woniuxy.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultVO implements Serializable {
    /**
     * 响应码
     */
    private Integer status;
    /**
     *  响应简要信息
     */
    private String message;
    /**
     *  响应的主体数据
     */
    private Object data;

    public ResultVO(Integer status, String message) {
        this.status = status;
        this.message = message;
    }
}